package com.zhangtai.modules.dto;


import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class UserBankCardAnnalDto implements Serializable {

    /**
     * id
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    @ApiModelProperty(value="id",required = false)
    private Long id;
    /**
     * 员工oid
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    @ApiModelProperty(value="员工oid",required = false)
    private Long oid;
    /**
     * 银行卡号
     */
    @ApiModelProperty(value="银行卡号",required = false)
    private String bankcardNum;
    /**
     * 是否工资卡 0 否 1 是
     */
    @ApiModelProperty(value="是否工资卡 0 否 1 是",required = false)
    private Integer isPaycard;

    /**
     * 开户银行
     */
    @ApiModelProperty(value="开户银行",required = false)
    private String bankAccount;
    /**
     * 所属支行
     */
    @ApiModelProperty(value="所属支行",required = false)
    private String subBranch;

    /**
     * 生效日期
     */
    @ApiModelProperty(value="生效日期",required = false)
    private Date effectiveDate;

    /**
     * 身份证正面url
     */
    @ApiModelProperty(value="身份证正面url",required = false)
    private String idcardUpUrl;

    /**
     * 身份证反面url
     */
    @ApiModelProperty(value="身份证反面url",required = false)
    private String idcardDownUrl;

    /**
     * 账户名
     */
    @ApiModelProperty(value="账户名",required = false)
    private String accountName;


    /**
     * 失效日期
     */
    @ApiModelProperty(value="失效日期",required = false)
    private Date invalidDate;



    /**
     * 变更类型
     */
    @ApiModelProperty(value="变更类型",required = false)
    private Integer type;



}
